package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@TableName("t_student")
@Data
public class Student extends Model<Student> {

    @TableId(type = IdType.ASSIGN_ID)
    private String stuId;

    /**
     * 名字
     */
    private String stuName;

    /**
     * 年龄
     */
    private Date stuAge;

    /**
     * 性别
     */
    private String stuSex;

    /*@TableField(exist = false)
    private List<Course> courses;*/
}